package grisar.gris.helpers;

import java.util.List;

import android.graphics.Point;

import grisar.gris.MapParser;
import grisar.gris.logic.Spawner;
import grisar.gris.struct.I_Ballistic;
import grisar.gris.struct.I_Tower;
import grisar.gris.struct.enemy.I_Enemy;
import grisar.gris.struct.ground.I_Ground;

public class DataHolder {
	
	private static List<I_Enemy> enemies;
	private static List<I_Ballistic> ballistics; 
	private static List<I_Tower> towers;
	private static List<I_Ground> ground;
	private static List<Spawner> spawner;
	private static MapParser mapParser;
	
	public static void loadMap(MapParser mapParser,
							   List<I_Enemy> _enemies, 
							   List<I_Ballistic> _ballistics, 
							   List<I_Tower> _towers, 
							   List<I_Ground> _ground,
							   List<Spawner> _spawners){
		
		enemies = _enemies;
		ballistics = _ballistics;
		towers = _towers;
		ground = _ground;
		spawner = _spawners;
	}
	
	public static List<I_Enemy> getEnemies(){
		return  enemies;
	}
	
	public static List<I_Ballistic> getBallistic(){
		return ballistics;
	}
	
	public static List<I_Tower> getTower(){
		return towers;
	}
	
	public static List<I_Ground> getGround(){
		return ground;
	}
	 
}
